﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace Shrestha.Charts.Info
{
    public class Legend
    {
        public List<LegendEntry> LegendList { get; private set; }

        public Legend(List<LegendEntry> le)
        {
            this.LegendList = le;
        }

        public Legend() { LegendList = new List<LegendEntry>(); }

        public void Add(LegendEntry le) { LegendList.Add(le); }

    }

    public struct LegendEntry
    {
        public Color color { get; set; }
        public string minVal { get; set; }
        public string maxVal { get; set; }
        public string misc { get; set; }
    }
}
